#继续练习用户输入和while 循环
m = input("Tell me something, and I will repeat it back to you: ")
print(m)
name = input("Please enter your name:  ")
print(f"\nWow, a nice name,I like it!Don't it, {name}?")
age = input("So, how old are you?   ")
#报错段if age < 18:
         #print(f"My dear, {age}? You are so yonug.I've 18 years old.")
 #elif age > 18:
  #  print(f"Oh, senior, I am 18,nice to meet you.")
#else:
#    print(f"We have the both age,let's play together.")
print("Alright.")
print(4%3)
c = 0
while c <= 5:
    print(c)
    c += 1
prompt = "\nTell me something, and I will repeat it back to you:"
prompt += "\nEnter 'quit' to end the program. "
message = ""
while message != 'quit':
    message = input(prompt)
    print(message)
while True:
    user_input = input("I am a little miss you, and I will repeat it back to you, could you please company me again?: Enter 'quit' to end the program. ")
    if user_input.lower() == 'quit':
        print(user_input)
        break
    else:
        print(user_input)
        prompt = "\nTell me something, and I will repeat it back to you:"
prompt += "\nEnter 'quit' to end the program. "
active = True
while active:
    message = input(prompt)
    if message == 'quit':
        active = False
    else:
        print(message)
prompt = "Please enter the name of a city you have visited:"
prompt += "\n(Enter 'quit' when you are finished.) "

while True:
    city = input(prompt)
    if city == 'quit':
        break
    else:
        print(f"I'd love to go to {city.title()}!")
    
c_number = 0
while c_number < 10:
    c_number += 1
    if c_number % 2 == 0:
        continue
    print(c_number)
    
